# - Urgell

owner = ARA		#Alfons V of Aragon
controller = ARA
add_core = ARA
add_core = CAT
culture = catalan
religion = catholic
hre = no
base_tax = 3
base_production = 3
trade_goods = wool 
base_manpower = 2
capital = "Trrega" 
estate = estate_nobles
is_city = yes 



discovered_by = western
discovered_by = eastern
discovered_by = muslim
discovered_by = ottoman


1412.6.29 = { revolt = { type = pretender_rebels size = 0 } controller = REB } # Jaime de Urgell Uprising
1413.1.1 = { revolt = {} revolt = { type = pretender_rebels size = 1 leader = "Jaume d'Urgell" } controller = REB }
1413.8.31 = { revolt = {} controller = ARA }
1461.9.23 = { revolt = { type = revolutionary_rebels size = 0 } controller = REB } # Catalan nobility revolts against King Joan, later the "Remensa" peasant revolt erupts, which is used by the King to erode the Catalan nobility. 
1462.4.11 = { revolt = {} controller = CAS } # Catalan nobility revolts against King Joan, later the Remena peasant revolt erupts.
1463.1.1 = { revolt = { type = pretender_rebels size = 1 leader = "Pere de Portugal" } controller = REB } # Jaime de Urgell Uprising
1466.6.30 = { revolt = {} controller = PRO } # census of 1473 (population lost due to the war). Succession war against Provence
1469.1.1 = { controller = ARA }
1484.1.1 = { unrest = 3 } # Second Remena revolt
1486.4.21 = { unrest = 0 } # King Ferrn arbit rates a resolution between the revolted peasants and the catalan nobles. 
1516.1.23 = { controller = SPA owner = SPA add_core = SPA } #Ferdinand the Catholic dies, Charles inherits Aragon and becomes regent of Castille
1640.6.7 = { revolt = { type = nationalist_rebels size = 1 } controller = REB } # "Corpus of blood". The Viceroy is killed and the Catalan sublevation begins, fastly spreading to other cities. 
1641.1.1 = {
	revolt = {}
	owner = FRA
	controller = FRA
	add_core = FRA
} # Louis XIII of France, Count of Barcelona.
1652.10.11 = { owner = SPA controller = SPA remove_core = FRA } # Barcelona surrenders
1684.3.1 = { controller = FRA } # France defeats the Spanish army in Girona
1684.6.1 = { controller = SPA } # Spain retakes the city
1693.6.1 = { controller = FRA } # France occupies northern Catalonia
1697.9.20 = { controller = SPA } # Peace of Ryswick
1705.10.9 = { controller = HAB } # Catalonia recognises Archduke Carlos as its sovereign, joining the Anglo-Austrian cause in the War of Spanish Succession. The loyalist troops in Barcelona are defeated.
1711.1.25 = { controller = SPA } # French troops take Girona
1713.7.13 = { remove_core = ARA }
1813.8.31 = { revolt = { type = pretender_rebels size = 1 } controller = REB }
1813.12.11 = { revolt = {} controller = SPA }
